package com.Xingcang_Dianxue.WhutBank.Models;

import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;

public class CheckingAccount extends Account {
    // 用户银行卡每日交易限额
    private final DoubleProperty transactionLimit;

    public CheckingAccount() {
        super();
        this.transactionLimit = new SimpleDoubleProperty(this, "Transaction Limit", 10000);
    }
    public double getTransactionLimit() {
        return transactionLimit.get();
    }

    public void setTransactionLimit(double transactionLimit) {
        this.transactionLimit.set(transactionLimit);
    }

    public DoubleProperty transactionLimitProperty() {
        return transactionLimit;
    }

}
